home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD>
- </HEAD>
- <BODY BACKGROUND="water.jpg" TEXT=#FFFFFF LINK=FFFF22 VLINK=FF22FF>
- <H2>Squid Tracking -- How Do We Do It?</H2>
- <TABLE>
- <TR><TD WIDTH=320>
- <DIV ID=AnimDiv STYLE="position:relative;width:320px;height:320px">
- <IMG SRC="sonard.gif" ID=sonard BORDER=0
- STYLE="container:positioned;position:absolute;
- TOP:0pt;LEFT:150px;WIDTH:32px;HEIGHT:32px;ZINDEX:0;">
- <IMG SRC="sonaru.gif" ID=sonaru BORDER=0
- STYLE="container:positioned;position:absolute;
- TOP:0pt;LEFT:150px;WIDTH:32px;HEIGHT:32px;ZINDEX:0;">
- <IMG SRC="squid2.gif" ID=squid1 BORDER=0 onclick="Guess();"
- STYLE="container:positioned;position:absolute;
- TOP:170pt;LEFT:20px;WIDTH:64px;HEIGHT:64px;ZINDEX:1;">
- <IMG SRC="squid2.gif" ID=squid2 BORDER=0 onclick="Guess();"
- STYLE="container:positioned;position:absolute;
- TOP:190pt;LEFT:20px;WIDTH:64px;HEIGHT:64px;ZINDEX:2;">
- <IMG SRC="squid2.gif" ID=squid3 BORDER=0 onclick="Guess();"
- STYLE="container:positioned;position:absolute;
- TOP:180pt;LEFT:0px;WIDTH:64px;HEIGHT:64px;ZINDEX:3;">
- <IMG SRC="boat.jpg" BORDER=0 STYLE="container:positioned;position:absolute;
- TOP:0pt;LEFT:0px;WIDTH:320px;HEIGHT:50px;ZINDEX:5;" onclick="cycle();">
- <IMG SRC="bottom.gif" BORDER=0 STYLE="container:positioned;position:absolute;
- TOP:240pt;LEFT:0px;WIDTH:320px;HEIGHT:50px;ZINDEX:5;">
- </DIV></TD><TD>
- <FONT COLOR=#FFFF00><I>To track squid we use a sophisticated sonar device
- that emits sound waves down into the ocean
- from the surface. The sound waves will either bounce off the ocean floor
- or bounce off the squid if they get between the emitting boat and the
- ocean floor. We get very precise images of each squid that gets in the way of
- the sound waves. In fact, we can identify each squid as an individual unique
- from all squid we have catalogued.</I></FONT><BR>
- <B>Go ahead and click on the boat to start an animation.</B>
- </TD></TR></TABLE>
- <OBJECT ID="pathone"
- CLASSID="CLSID:E0E3CC60-6A80-11D0-9B40-00A0C903AA7F">
- <PARAM NAME=XSeries
- VALUE="0,20;10,50;20,80;30,115;40,150;50,185;60,220;70,255;80,300">
- <PARAM NAME=YSeries
- VALUE="0,170;10,170;20,170;30,170;40,170;50,170;60,170;70,170;80,170">
- </OBJECT>
- <OBJECT ID="pathtwo"
- CLASSID="CLSID:E0E3CC60-6A80-11D0-9B40-00A0C903AA7F">
- <PARAM NAME=XSeries
- VALUE="0,20;10,55;20,80;30,110;40,135;50,170;60,200;70,230;80,270">
- <PARAM NAME=YSeries
- VALUE="0,190;10,190;20,193;30,195;40,197;50,194;60,192;70,190;80,190">
- </OBJECT>
- <OBJECT ID="paththree"
- CLASSID="CLSID:E0E3CC60-6A80-11D0-9B40-00A0C903AA7F">
- <PARAM NAME=XSeries
- VALUE="0,0;10,20;20,50;30,80;40,100;50,128;60,148;70,178;80,210">
- <PARAM NAME=YSeries
- VALUE="0,180;10,182;20,185;30,190;40,185;50,181;60,179;70,176;80,179">
- </OBJECT>
- <OBJECT ID="pathfour"
- CLASSID="CLSID:E0E3CC60-6A80-11D0-9B40-00A0C903AA7F">
- <PARAM NAME=XSeries
- VALUE="0,150;10,150;20,150;30,150;40,150;50,150;60,150;70,150;80,150">
- <PARAM NAME=YSeries
- VALUE="0,20;10,50;20,90;30,135;40,180;41,0">
- </OBJECT>
- <OBJECT ID="pathfive"
- CLASSID="CLSID:E0E3CC60-6A80-11D0-9B40-00A0C903AA7F">
- <PARAM NAME=XSeries
- VALUE="0,150;10,150;20,150;30,150;40,150;50,150;60,150;70,150;80,150">
- <PARAM NAME=YSeries
- VALUE="40,0;41,180;50,135;60,90;70,50;80,20">
- </OBJECT>
- <SCRIPT LANGUAGE=VBScript>
- function cycle()
- dim itimer
- pathone.Target = squid1.Style
- pathtwo.Target = squid2.Style
- paththree.Target = squid3.Style
- pathfour.Target = sonard.Style
- pathfive.Target = sonaru.Style
- squid1.style.visibility="visible"
- squid2.style.visibility="visible"
- squid3.style.visibility="visible"
- sonard.style.visibility="visible"
- sonaru.style.visibility="visible"
- pathone.Play
- pathtwo.Play
- paththree.Play
- pathfour.Play
- pathfive.Play
- itimer = setTimeout( "Moves()", 50)
- End function
-
- Sub Moves
- dim itimer
- pathone.Tick
- pathtwo.Tick
- paththree.Tick
- pathfour.Tick
- pathfive.Tick
- if currentTick < 9 then
- itimer = setTimeout("Moves()", 50)
- end if
- End Sub
- </SCRIPT>
-
- <SCRIPT LANGUAGE=VBScript>
- function Guess()
- dim r, srcElement
- set srcElement = window.event.srcElement
- if (srcElement.id="squid1") then
- srcElement.src = "gem.gif"
- else
- srcElement.src = "wrong.gif"
- end if
- end function
- </SCRIPT>
- </BODY>
- </HTML>
-